package graph.group.zhangtao.guider.model;

/**
 * Created by tao on 18-3-19.
 */

public class ViewKey {
    public ViewKey(String name) {
        this.name = name;
    }

    private String name="";

    public boolean isLocal() {
        return isLocal;
    }

    public void setLocal(boolean local) {
        isLocal = local;
    }

    private boolean isLocal = false;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object obj) {
        return name.equals(((ViewKey)obj).getName());
    }

    @Override
    public int hashCode() {
        return name.hashCode();
    }
}
